import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import AddUser from '@/components/AddUser'
import Login from '@/components/Login'
import Login1 from '@/components/Login1'
import Index1 from '@/components/Index1'
import Show from '@/components/Show'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/adduser',
      name: 'AddUser',
      component: AddUser
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/login1',
      name: 'Login1',
      component: Login1
    },
    {
      path: '/index1',
      name: 'Index1',
      component: Index1
    },
    {
      path: '/show',
      name: 'Show',
      component: Show
    }
  ]
})
